#include "GLAppComponents.h"

namespace mpgl_engine{ namespace application { 

	GLAppComponents::GLAppComponents(GlConsole* console)
	{
		m_console = console;
		//Load Operating Components
		m_glWindow = new GLWindow();
		m_glInput = new GLInputManager(m_glWindow->GetWindow());
		m_audio = new AudioManager(console);
		m_network = new NetworkManager(console);
	}

	GLAppComponents::~GLAppComponents()
	{
		delete m_network;
		delete m_audio;
		delete m_glInput;
		delete m_glWindow;
	}
}}